This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
Now IE not recognizing DXL as XML during a jQuery AJAX request
Following on from my problem with Chrome, I just had this problem appear in Internet Explorer, despite having implemented the fix I mentioned.
When I looked closer, the xmlDoc.loadXML(xmlstr) method was returning false, and xmlDoc contained a parse error with the message: System error: -2146697210.Error processing resource
What I realised was that the server was trying to get to the DTD specified in the doctype (<!DOCTYPE document SYSTEM 'xmlschemas/domino_8_5_2.dtd'>) using a path relative to the Domino database I was accessing, i.e. www.myserver.com/path/path2/mydb.nsf/xmlschemas/domino_8_5_2.dtd
Obviously this was failing and causing the text not to be recognized as XML. I figure this was what was happening with Chrome as well, but as I fixed Chrome by using DOMParser, I can only assume that DOMParser lets me get away with it for some reason.
I fixed this problem using a tip from Mark Hughes in the ND6/7 forum by setting NotesDXLExporter.OutputDOCTYPE=False in the script which was producing the XML, causing Domino to drop the doctype declaration.
I'm pleased to have the problem fixed, but the fix itself seems like just making the problem go away rather than actually FIXING it, so I'm wondering whether there's a 'correct' way of getting the server to output the actual location to the DTD?
I've also found that setting ValidationStyle to VALIDATIONSTYLE_SCHEMA instead of setting OutputDOCTYPE to false works, but being of an inquisitive nature I'd like to know why it doesn't work how I originally had it, i.e. OutputDoctype=TRUE and ValidationStyle=VALIDATION_DTD
If anyone can explain it I'd be very interested to know.
Thanks,
Emily.
Feedback response number WEBB8ELMUW created by ~Mario Rejipyzenader on 03/03/2011